//echarts1
var echarts1 = echarts.init(document.getElementById('echarts1'));

var option = {
    grid: {
        show: 'true',
        borderWidth: '0'
    },
    tooltip: {},

    xAxis: {
        data: ['历史1', '历史2', '历史3', '历史4', '历史5', '历史6']
    },
    yAxis: {},
    series: [
        {
            name: '销量',
            type: 'bar',
            data: [10, 20, 36, 10, 10, 20]
        }
    ]
}

echarts1.setOption(option);